package com.zjw.springconsumer;

import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

@Component
public class HelloServiceImpl implements HelloService{

    @Override
    public Map<String, String> hello() {
        Map<String,String> map=new HashMap<>();
        map.put("err","hello 模块远程调用失败！");
        return map;
    }
}
